<div class="modal fade" id="Confirm" role="dialog">
    <div class="modal-dialog">
        <div class="modal-content">
            <form action="<%- actionUrl %>" method="<%- actionMethod %>"
                  data-operation="confirm"
                  data-confirm-target="<%- confirmTarget %>"
                  data-success-mode="<%- successMode %>" data-refresh-target="<%- refreshTarget %>"
                  data-error-mode="<%- errorMode %>">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title"><%- titleText %></h4>
                </div>
                <div class="modal-body">
                    <%= messageText %>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">
                        <%- undoText %>
                    </button>
                    <button type="submit" class="btn btn-primary">
                        <%- doText %>
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>